#ifndef __RELAY_H__
#define __RELAY_H__

#include "main.h"




#define RELAY_ON	1
#define RELAY_OFF 0

#define RELAY_L_PIN		  GPIO_Pin_6
#define RELAY_L_PORT	  GPIOB
#define RELAY_L_CLK		  RCC_APB2Periph_GPIOB
#define RELAY_L	  	  	PBout(6) 

#define RELAY_R_PIN			GPIO_Pin_7
#define RELAY_R_PORT		GPIOB
#define RELAY_R_CLK			RCC_APB2Periph_GPIOB
#define RELAY_R 	  		PBout(7) 

#define RELAY_C_PIN			GPIO_Pin_8
#define RELAY_C_PORT		GPIOB
#define RELAY_C_CLK			RCC_APB2Periph_GPIOB
#define RELAY_C 	  		PBout(8)

void relayInit(void);

#endif
